// Utilities
import {defineStore} from "pinia";

export const useAppStore = defineStore("app", {
    state: () => ({
        wideScreen: false
    }),
    actions: {
        updateWideScreen() {
            this.wideScreen = (globalThis.innerWidth ?? 0) >= 900 && (globalThis.innerHeight ?? 0) >= 900;
        }
    }
});